package com.woniuxy.dr_mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.dr_mall.entity.DrCategory;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
public interface IDrCategoryService extends IService<DrCategory> {

    List<DrCategory> getAll();

    void addCategory(DrCategory drCategory);

    DrCategory getById(int id);

    void delById(int id);

    DrCategory getByName(String name);



}
